package com.mbmed.doctor.medadvice.dao;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.mbmed.doctor.commons.dao.BaseDao;
import com.mbmed.doctor.commons.utils.Utils;
import com.mbmed.doctor.medadvice.mapper.Sysparameters;

@Repository
public class SysparametersDao extends BaseDao{
	/**
	 * 生成一个主键
	 * @return
	 * @throws Exception
	 */
	public String getPKValue() throws Exception{
		return Utils.getUUID();
	}
	
	public Sysparameters selectAdivceJcSysparameters(Map paramMap){
		return (Sysparameters)getSqlSession().selectOne("Sysparameters.selectAdivceJcSysparameters", paramMap);
	}
	
}
